# Use the official .NET SDK image to build the project
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build

# Set up the project directory
WORKDIR /app
COPY . /app

# Restore dependencies
RUN dotnet restore CalculatorApi.Tests/CalculatorApi.Tests.csproj